# Migrate all possible tasks to core 0
for PROCESS in $(ls /proc); do
    if [ -x "/proc/${PROCESS}/task/" ]; then
        taskset -acp 0 ${PROCESS}
    fi
done

